public static enum NB3Message.MsgType extends java.lang.Enum<NB3Message.MsgType>
Enum Constant and Description |
---|
ACCEPT |
CONFIRM |
ILLEGAL |
PROPOSE |
REJECT |
Modifier and Type | Method and Description |
---|---|
static NB3Message.MsgType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NB3Message.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NB3Message.MsgType PROPOSE
public static final NB3Message.MsgType ACCEPT
public static final NB3Message.MsgType ILLEGAL
public static final NB3Message.MsgType CONFIRM
public static final NB3Message.MsgType REJECT
public static NB3Message.MsgType[] values()
for (NB3Message.MsgType c : NB3Message.MsgType.values()) System.out.println(c);
public static NB3Message.MsgType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null